/**
 * 
 */
package com.googlecode.archimedes.filegen.model;

/**
 * <p>
 * Enumerates the acceptable types of relationships
 * </p>
 * <p>
 * Created: May 20, 2005
 * </p>
 * 
 * @author Erik Gustavson
 * @version $Id: Relationship.java 2088 2006-03-16 01:56:24 +0000 (Thu, 16 Mar 2006) erik $
 */
public enum Association {
	OneToOne("one-to-one"), OneToMany("one-to-many"), ManyToMany("many-to-many"), ManyToOne("many-to-one");

	private String	name;

	Association(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}

	/**
	 * @see java.lang.Enum#toString()
	 */
	@Override
	public String toString() {
		return getName();
	}
}